// 企业相关
import request from '@/utils/request'

// 根据 id 查询企业
export const reqGetCompanyById = (id) => {
  return request({
    method: 'get',
    url: `/company/${id}`
  })
}

/** *
 * 封装一个批量导入员工的接口
 * data: [{}, {}, {}, {}, ... ]
 * ***/
export function reqImportEmployee(data) {
  return request({
    url: '/sys/user/batch',
    method: 'post',
    data
  })
}
